Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce C-Rust FFI complexity for HTML CSS image extraction logic #1241

Merged

Conversation

micahsnyder
Copy link
Contributor

The C-Rust FFI code is needlessly complex. Now that we are calling into magic_scan from Rust, we can simply hand off the <style> block contents to Rust code to handle extraction and scanning.

The C-Rust FFI code is needlessly complex. Now that we are calling into
magic_scan from Rust, we can simply hand off the <style> block contents
to Rust code to handle extraction and scanning.
@micahsnyder micahsnyder added the 🍒cherry-pick-candidate A PR that should be backported once approved. label Apr 14, 2024
@micahsnyder micahsnyder merged commit 6e1afbb into Cisco-Talos:main Apr 15, 2024
13 of 24 checks passed
@micahsnyder micahsnyder deleted the CLAM-2573-css-image-extract-cleanup branch April 15, 2024 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒cherry-pick-candidate A PR that should be backported once approved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant